﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Lucy.Models;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;

namespace Lucy.DAL
{
    
    public class LucyContext : DbContext
    {
        public DbSet<Diamond> Diamonds { get; set; }
        public DbSet<Jewel> Jewels { get; set; }
        public DbSet<Order> Orders { get; set; }
        public DbSet<Customer> Customers { get; set; }
        public DbSet<Employee> Employees { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            Database.SetInitializer<LucyContext>(null);
        }
    }
}

